home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************
- *
- * Copyright © 1990 Apple Computer, Inc. All rights reserved.
- *
- ************************************************************************/
-
- #include <DialogMgr.h>
- #include <pascal.h>
-
- #include <stdio.h>
- #include "HighSierra.h"
- #include "BuildISO.h"
- #include "DialogUtils.h"
-
- /************************************************************************
- *
- * Function: ErrorMsg
- *
- * Purpose: tell user about some error
- *
- * Returns: nothing
- *
- * Side Effects: displays an error message
- *
- * Description: we assume that you are passing stuff in as if you
- * were using printf. Put up a dialog that tells what
- * went wrong using your message.
- *
- ************************************************************************/
- void
- ErrorMsg(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
- char *a, *b, *c, *d, *e, *f, *g, *h, *i, *j, *k, *l, *m, *n, *o, *p, *q, *r, *s, *t;
- {
- char errorString[255];
-
- sprintf(errorString, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t);
- CtoPstr(errorString);
- ParamText((StringPtr)errorString, NULL, NULL, NULL);
- Alert(DU_CenterALRT(129), 0L);
- }